package com.xcw.repository;

import com.xcw.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {

	/**
	 * 注册校验方法
	 * @param openid
	 * @return
	 */
	User findByOpenId(String openid);
}
